<div class="row">
    <div class="span12 marginbottom20">
        <form method="post" action="<?php echo $this->url_edit . @$dep->MAN_ID; ?>">
            <div class="table_head"><h6><i class="icon-list-alt"></i>
			<?php
			if(@$dep->MAN_ID > 0)
			{
				echo 'Thông tin '.@$tresource->RES_NAME;
				
			}
			else {
				echo 'Thêm mới '.@$tresource->RES_NAME;
			}
			?></h6></div>
            <div class="subcont">
                <ul class="details span8">
                    <li> <span>Tên phòng:</span> <input type="text" name="dep[DEP_NAME]" class="required span5 resetvalue" value="<?php echo @$dep->DEP_NAME; ?>"  /></li>
                    <li> <span>Chú thích:</span> <input type="text" name="dep[DEP_DESCRIPTION]" class="required span5 resetvalue" value="<?php echo @$dep->DEP_DESCRIPTION; ?>"  /></li>
                </ul>
                
                <ul class="span8">
                   <input type="submit" name="send" class="btn btn-primary" value="<?php
			if(@$dep->MAN_ID > 0)
			{
				echo 'Lưu';
				
			}
			else {
				echo 'Thêm mới';
			}
			?>"/>
			<a href="<?php echo $this->url_index;?>" class="btn">Trở ra</a>
                </ul>
                <br clear="both">

            </div>

        </form>
    </div>
</div>